package com.plum.admin.config.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * TODO
 *
 * @author 子丶沫
 * @version 1.0
 * @date 2021/9/28 9:49
 */
@Getter
@Setter
@Configuration
@ConfigurationProperties(prefix = "plum.ratelimit")
public class RateLimitProperties {

    private boolean enable;

    private Long timeout;

    private Long limit;
}
